<%-- 
    Document   : editConnection
    Created on : Jul 23, 2009, 1:47:40 PM
    Author     : david
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"
        import="com.appspot.nnaplanner.*,
                java.util.List,
                java.util.Set,
                javax.jdo.Query,
                org.jgrapht.graph.*,
                org.jgrapht.alg.*,
                com.appspot.nnaplanner.DAL.*,
                com.google.appengine.api.datastore.Key,
                com.google.appengine.api.datastore.KeyFactory"
                %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">


<%

DALConnection dc = new DALConnection();
try{
    dc = dc.getByID(request.getParameter("id"));
} catch (Exception e) {
    out.print("Error: connection not found!");
    return;
}
%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Edit Connection - nnap</title>
        <link rel="stylesheet" type="text/css" href="/ext/resources/css/ext-all.css"/>
        <style type="text/css" media="screen">@import url(/styles/main.css);</style>
        <script type="text/javascript" src="/ext/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="/ext/ext-all.js"></script>
    </head>
    <body>
        <div class="header">
            <%@include file="Header.jspf" %>
            <%@include file="Authenticator.jspf" %>

        </div>
        <br>

        <script language="javascript">
            var aStop = new Object();
            aStop.name = '<%= dc.getStopName() %>';
            aStop.sid = '<%= dc.getStopID() %>';
            aStop.id = '<%= dc.getID() %>';

        </script>
        <script src="javascript/editConnection.js"></script>
        <div class="footer">


        </div>

    </body>
</html>
